FLAGS = -Wall -Werror -Wextra -std=c11

all: s21_cat

s21_cat:
	gcc $(FLAGS) -o s21_cat cat.c

build_test:
	gcc $(FLAGS) -o cat_test cat_test.c
	./cat_test

test: s21_cat build_test clang 

clang:
	clang-format --style=google -n *.c
	clang-format --style=google -n *.h